<?php foreach($contacts as $contact):?>
<ul class="contact">
    <li><?php echo $contact->getName();?></li>
    <li><?php echo $contact->getAdres();?></li>
    <li><?php echo $contact->getPostcode().' '.$contact->getPlace();?></li>
    <li><?php echo $contact->getPhonenumber();?></li>
    <li><?php echo $contact->getEmail();?></li>
</ul>
<?php endforeach;?>